package com.applet.api.controller;


import com.applet.code.util.HttpResult;
import com.applet.api.dao.ProjectInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {
@Autowired
    ProjectInfoMapper projectInfoMapper;
    @RequestMapping("/one")
    public HttpResult testone(){
    return new HttpResult(projectInfoMapper.selectByPrimaryKey(79));
    }
}
